package com.wanxin.car.carmng.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.wanxin.car.util.helper.CodeHelper;

/**
 * 中介
 * @author lqk
 */
@Entity
@Table(name="tIntermediary")
public class Intermediary implements Serializable{
	
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(generator="my")
	@GenericGenerator(name="my", strategy="uuid")
	@Column(name="cInterID")
	private String id;

	@Column(name="cInterName")
	private String name;

	@Column(name="cInterTel")
	private String tel;

	@Column(name="cInterType")
	private String type;
	
	

	public Intermediary() {
	}
	
	/**
	 * id
	 */
	public Intermediary( String id) {
		this.id = id;
	}

	
	


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public static void main(String[] args) {
		CodeHelper.printEntity("tIntermediary");
	}

}
